#ifndef JPROJECTVIEW_H
#define JPROJECTVIEW_H

#include <QTreeView>
#include <QStandardItemModel>

class JProjectView : public QTreeView
{
	Q_OBJECT

public:
	JProjectView(QWidget *parent, QAction* addSTL, QAction* addJTS, QAction* remove);
	~JProjectView();

public slots:
	void updateIndex(QModelIndex index);

private slots:
	void contextMenu(const QPoint &pt);

	/*void New();
	void appendChild();
	void removeChild();
	void appendModel();
	void appendJTS();*/


private:
	/*QStandardItemModel* m_ItemModel;
	QStandardItem* m_ProjectItem;*/
	QAction* m_pAddSTL;
	QAction* m_pAddJTS;
	QAction* m_pRemove;
	
};

#endif // JPROJECTVIEW_H
